//
//  WD_MyAVPlayer.h
//  BUDING
//
//  Created by HanWoonYong on 16/4/13.
//  Copyright © 2016年 HanWoonYong. All rights reserved.
//

#import <AVFoundation/AVFoundation.h>
#import "WD_MyPlayerMaskView.h"
@interface WD_MyAVPlayer : AVPlayer
@property (nonatomic, strong)AVPlayerLayer *playerLayer;
@property (nonatomic, strong)AVPlayerItem *playItem;
@property (nonatomic, strong)NSString *url;
@property (nonatomic, assign)CGRect playerFrame;
+ (instancetype)shareAVPlayer;
- (void)initWithPlayLayerFrame:(CGRect)playLayerFrame MaskView:(WD_MyPlayerMaskView *)maskView;



@end
